<%@page import="youleche.com.model.MVehicleInfo"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/WEB-INF/header.jsp" %>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>联系店主（美乐车-全国最大的车辆信息交易平台）</title>

<link href="${ctx}/image/meileche.jpg" rel="shortcut icon"/>
<script type="text/javascript" src="${ctx}/js/common/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
function xyRule(){
	window.parent.open("xy.jsp");
}
</script>
</head>
<body>
	<%
	MVehicleInfo vehicleInfo = (MVehicleInfo) request.getAttribute("vehicleContact");
	if(vehicleInfo == null){
		request.getRequestDispatcher("404.jsp").forward(request, response);
		return;
	}
	%>
	<div style="margin-left:auto;margin-right:auto;width:500px;height:200px;">
		<div style="width: 500px;float:left;height: 100px;">
			<table style="height:100%;width:100%;">
				<tr>
					<td style="width:100px;background-color:#ddd;">联系电话</td>
					<td><img src="${ctx}/che.do?action=3&callNum=<%= vehicleInfo.getLinkPhoneNum() %>"/></td>
				</tr>
				<tr>
					<td style="width:100px;background-color:#ddd;">联系人</td>
					<td ><%= vehicleInfo.getLinkMan() %>
						</td>
					
				</tr>
				<tr>
					<td style="width:100px;background-color:#ddd;">联系QQ</td>
					
					<td align="left"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1966225457&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:449614531:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>
					</td>
				</tr>
			</table>
		</div>
		<div style="width: 500px;float:left;height: 100px;">
			<div style="float:left;width:500px;height:100px;">
					<table style="height:100%;width:100%;">
						<tr>
						<td style="width:100px;background-color:#ddd;">店家信誉</td>
						<td>
							<img src="image/xylogo/xy_10.jpg"/>
							<img src="image/xylogo/xy_10.jpg"/>
							<img src="image/xylogo/xy_10.jpg"/>
							<img src="image/xylogo/xy_10.jpg"/>
							<span style="font-size:10px;color:#ccc;">[<a href="#" onclick="xyRule();" style="color:#444;font-size:10px;">信誉规则</a>]</span>
						</td>
						</tr>
						<tr>
							<td style="width:100px;background-color:#ddd;">店铺</td>
							<td ><%= vehicleInfo.getA1() %></td>
						</tr>
						<tr>
							<td style="width:100px;background-color:#ddd;">店铺地址</td>
							<td ><%= vehicleInfo.getA2() %></td>
						</tr>
					</table>
			</div>
		</div>
	
	</div>
</body>
</html>